package main;

public class SegmoidNeuron extends Neuron{

	@Override
	public double getValue() {
		double net = getNet();
		return 1/(1 + Math.exp(-1*net));
	}

	@Override
	public Neuron createInstance() {
		return new SegmoidNeuron();
	}

}
